home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / internet / net commander 1.0 / ISP / SCRPTLST / PARADISE.CMD < prev    next >
Encoding:
Text File  |  1996-03-01  |  1.1 KB  |  51 lines

  1. #    Login.cmd for Paradise Communications, Inc.
  2. #
  3. # FileName   : login.cmd
  4. # Author     : Paradise Communications, Inc.
  5. # LastUpdate : 95/03/31 
  6. #
  7. if ![load $number]
  8.   if [query $number "Enter your dial up phone number"]
  9.     save $number
  10.   end
  11. end
  12. echo off
  13. output at&f\r
  14. input 30 OK
  15. output atx0&c1&d2\r
  16. input 30 OK
  17. display \nWelcome to Paradise Communications, Inc.\n
  18. display Your Internet Connection!\n
  19. #
  20. #   Add *70,if you have call waiting on your phone.
  21. #
  22. display \n
  23. %attempts = 0
  24. repeat
  25.   %attempts = %attempts + 1
  26.   if %attempts = 26
  27.     display Dialler gives up.....\n
  28.     abort
  29.   end
  30.   display Attempts : %attempts :\n
  31.   outputecho atdt$number\r
  32.   %ok = [expect 60 \n]
  33.   %ok = [expect 60 CONNECT] 
  34. until %ok
  35. wait 30 dsr
  36. echo on
  37. input 30 ogin:
  38. username Enter your login name :
  39. output \u\13
  40. input 30 word:
  41. password Enter your password :
  42. output \p\13
  43. input 30 to
  44. address 10
  45. display \n
  46. display Connected. Your IP address is \i.\n
  47. display \nYou have connected to Paradise\n
  48. display Please limit your session to less than 2 hours.\n\n
  49. display You can minimize the "Trumpet Winsock" window right now.\n\n
  50. display Enjoy....\n\n
  51.